class Person {}

interface ICTPORpERSON {
  new (): Person;
}

function factory(fn: ICTPORpERSON) {
  const f = new fn();
  return f;
}

factory(Person);
